7 int coin
[5] = { 50,25,10,5,1 };
13 for(i
=1; i
<=MAX
; i
++) ways
[i
] = 0;
18 for (j
=c
; j
<=MAX
; j
++)
21 while(scanf("%d",&n
) == 1)
24 printf("There is only 1 way to produce %d cents change.\n", n
);
26 printf("There are %lld ways to produce %d cents change.\n",ways
[n
],n
);